package top.ljlgithub.domain;

/**
 * @ClassName
 * @Description TODO
 * @Author L1470
 * @Date 2021/3/22 7:32
 * @Version 1.0
 **/
public class PageSql {
    private int startIndex;
    private int rows;

    public PageSql() {
    }

    public PageSql(int startIndex, int rows) {
        this.startIndex = startIndex;
        this.rows = rows;
    }

    public int getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(int startIndex) {
        this.startIndex = startIndex;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "PageSql{" +
                "startIndex=" + startIndex +
                ", rows=" + rows +
                '}';
    }
}
